//  自动模式
//  ZYVSAutoModeSettingView.h
//  YiLin
//
//  Created by Zyark on 2018/6/6.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZYModeTypeModel;
@class ZYVSAutoModeSettingView;
@protocol ZYVSAutoModeSettingViewDelegate <NSObject>
@optional
/**
 净化状态按钮点击
 @param vsAutoModeSettingView 当前view
 @param button 点击按钮
 */
-(void)vsAutoModeSettingView:(ZYVSAutoModeSettingView *)vsAutoModeSettingView doPurificationClick:(UIButton *)button;

/**
 睡眠状态按钮点击
 @param vsAutoModeSettingView 当前view
 @param button 点击按钮
 */
-(void)vsAutoModeSettingView:(ZYVSAutoModeSettingView *)vsAutoModeSettingView doSleepingClick:(UIButton *)button;

/**
 新风状态按钮点击
 @param vsAutoModeSettingView 当前view
 @param button 点击按钮
 */
-(void)vsAutoModeSettingView:(ZYVSAutoModeSettingView *)vsAutoModeSettingView doCommonClick:(UIButton *)button;

@end

@interface ZYVSAutoModeSettingView : UIView
@property(nonatomic,assign) CGFloat purificationTime;

/**
 风速
 */
@property(nonatomic,assign) ZYWindSpeedType speedType;

/**
 睡眠开始时间
 */
@property(nonatomic,copy) NSString *startTime;

/**
 睡眠结束时间
 */
@property(nonatomic,copy) NSString *endTime;

@property(nonatomic,strong) ZYModeTypeModel *model;

@property(nonatomic,weak) id<ZYVSAutoModeSettingViewDelegate> delegate;
@end
